package com.example.demo.entity;

//    +------------+-----------+------+-----+-------------------+----------------+
//    | Field      | Type      | Null | Key | Default           | Extra          |
//    +------------+-----------+------+-----+-------------------+----------------+
//    | id         | int(11)   | NO   | PRI | NULL              | auto_increment |
//    | uid        | int(11)   | YES  |     | NULL              |                |
//    | follow_id  | int(11)   | YES  |     | NULL              |                |
//    | createtime | timestamp | NO   |     | CURRENT_TIMESTAMP |                |
//    +------------+-----------+------+-----+-------------------+----------------+

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.time.LocalDateTime;

@Data
public class FollowInfo {

    private Integer id;
    private Integer uid;
    private Integer follow_id;
    @JsonFormat(pattern = "yyyy-MM-dd hh:mm:ss", timezone = "GMT+8")
    private LocalDateTime createtime;

}
